package com.back_end.Reflection;

import java.lang.reflect.InvocationTargetException;

public class GetObjectTest {

    public static void main(String[] args) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException, ClassNotFoundException {
        GetObjectTest getObjectTest = GetObjectTest.class.getConstructor().newInstance();
        Class aClass = Class.forName("com.back_end.Reflection.GetObjectTest");

        System.out.println(aClass.getName());

        System.out.println(getObjectTest);




    }
}
